package com.nanyang.tms.manager.supplier;

import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.domain.supplier.SupplierDO;
import com.nanyang.tms.domain.supplier.SupplierQuery;
import com.nanyang.tms.domain.supplier.SupplierVO;

public interface SupplierManager {
    PageBean<SupplierVO> listSupplier(SupplierQuery query);
    /**
     * <p>save Supplier</p>
     * <p>Description:新增</p>
     *
     * @param  supplier
     * @return
     */
    void saveSupplier(SupplierDO  supplier);

    /**
     * <p>update Supplier</p>
     * <p>Description:修改</p>
     *
     * @param  supplier
     * @return
     */
    void updateSupplier(SupplierDO  supplier);
}
